package com.example.index.system.fitsystemwindow

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.example.index.BaseIndexActivity
import com.example.index.R
import com.example.index.extension.quickStartActivity
import com.example.index.ui.ArcTabBarActivity
import com.example.index.ui.DailyTaskActivity

class FitSystemWindowIndexActivity : BaseIndexActivity() {

    val items = arrayListOf<Pair<String, Class<*>>>()

    override fun handleItemClick(index: Int, title: String) = quickStartActivity(items[index].second)

    override fun getData(): List<String> {
        items.addAll(
            arrayListOf(
                Pair(getString(R.string.fitsystem_window_activity), FitSystemWindowActivity ::class.java),
                Pair(getString(R.string.status_bar_fragement), StatusBarActivity ::class.java)

            )

        )
        return items.map { it.first }.toList()
    }
}
